<?php

namespace Modules\Chinadmin\Models;

use Modules\System\Services\Mds\MDSCommon;

/**
 * 礼物表
 */
class AdvertisementModel extends BaseModel
{

    public $table = 'ca_advertisement';
    //public $timestamps = false;
    public $primaryKey = 'id';

    //搜索结果结束处理
    static public function mdsSearchEnd($list,$i,$user){

        foreach($list as $k=>$v){
            $list[$k]['img'] = MDSCommon::serverUrl($v['img']);
        }
        return $list;

    }





}
